package ru.nnstu.server;

import java.util.ArrayList;

import org.springframework.dao.DataAccessException;

public interface PlayerService {
	public boolean createPlayer(String name, String sex)
			throws DataAccessException;

	public boolean createPlayer(PlayerImpl player);

	public ArrayList<PlayerImpl> getPlayersByName(String name);

	public ArrayList<PlayerImpl> getAllPlayerImpls();

	public boolean isContaints(PlayerImpl player);
}
